#ifndef DIALOG_H
#define DIALOG_H

#include <QtGui/QDialog>

class QLabel;
class QLineEdit;
class QProgressBar;
const int MAXIMUM_LENGTH = 30;


class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog();


private:
    QLineEdit* TasteLineEditPtr;
    QLineEdit* PresentationLineEditPtr;
    QLineEdit* AtmosphereLineEditPtr;
    QLineEdit* ServiceLineEditPtr;
    QLineEdit* CostLineEditPtr;
    QLineEdit* AverageLineEditPtr;

    QLabel*     TitleLabelPtr;
    QLabel*     TasteLabelPtr;
    QLabel*     PresentationLabelPtr;
    QLabel*     AtmosphereLabelPtr;
    QLabel*     ServiceLabelPtr;
    QLabel*     CostLabelPtr;
    QLabel*     AverageLabelPtr;

    QPushButton* quitButtonPtr;
    QPushButton* clearButtonPtr;

    QProgressBar* TasteProgPtr;
    QProgressBar* PresentationProgPtr;
    QProgressBar* AtmosphereProgPtr;
    QProgressBar* ServiceProgPtr;
    QProgressBar* CostProgPtr;




private slots:
    void textChanged(const QString&); // Add a private slot to accept
                                      // changes in user input line edit
    void clearText();                 // Add a private slot to process clear
                                      // button
};

#endif // DIALOG_H
